{extend name="./template/default/pub/pc_base.html" /}
{block name="seo"}
<title>购买历史-{$site_name}</title>
{/block}
{block name="content"}
<main class="container mt30 mb20 overflow-Show clearfix" style="min-height:750px;">
    {include file="./template/default/ucenter/pub/pc_menu.html"}
    <article class="article-main pull-right">
        <section class="box ">
            <header class="box-header border-bottom">
                <h1><span class="small">我购买的作品</span></h1>
            </header>
            <div class="box-body">
                <ul class="mh-list col1">
                    {volist name="buys" id="vo"}
                    <li>
                        <div class="mh-item horizontal booklist">
                            {if empty($vo.cover_url)}
                            <a href="/{$book_ctrl}/{$vo.book_id}" title="{$vo.chapter.book.book_name}" class="mh-cover"
                               style="background-image: url({$img_site}/static/upload/book/{$vo.book_id}/cover.jpg)"> </a>
                            {else /}
                            <a href="/{$book_ctrl}/{$vo.book_id}" title="{$vo.chapter.book.book_name}" class="mh-cover"
                               style="background-image: url({$vo.cover_url})"> </a>
                            {/if}
                            <div class="mh-item-detali autoHeight">
                                <h2 class="title">
                                    <a href="/{$book_ctrl}/{$vo.book_id}">{$vo.chapter.book.book_name}</a>
                                </h2>
                                <p class="info">
                                    <span class="new">
                                        <a href="/{$chapter_ctrl}/{$vo.chapter_id}">{$vo.chapter.chapter_name}</a>
                                    </span>
                                </p>
                                <p class="info">
                                    <span>购买时间：</span>
                                    <span>{$vo.create_time|date='Y-m-d'}</span>
                                </p>
                                <p class="mh-label">购买金额：{$vo.money}元</p>
                                <div class="chapter-list mt30">
                                    {$vo.chapter.book.summary|subtext=60}...
                                </div>
                                <div class="bottom">
                                    <div>
                                        <a href="/{$chapter_ctrl}/{$vo.chapter_id}" class="read-btn"> 点击阅读 </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    {/volist}
                </ul>
            </div>
            <footer class="mt20">
                <div class="page-pagination pull-right mt20">
                    <ul> </ul>
                </div>
            </footer>
        </section>
    </article> <input id="hidUserId" type="hidden" value="274756461">
</main>
{/block}